using UnityEditor;
using GraphProcessor;

namespace Plugins.NodeEditor
{
    public class GraphProcessorMenuItems : NodeGraphProcessorMenuItems
    {
        [MenuItem("Assets/Create/Node C# Script", false, MenuItemPosition.afterCreateScript)]
        private static void CreateNodeCSharpScritpt() => CreateDefaultNodeCSharpScritpt();
	
        [MenuItem("Assets/Create/Node View C# Script", false, MenuItemPosition.afterCreateScript + 1)]
        private static void CreateNodeViewCSharpScritpt() => CreateDefaultNodeViewCSharpScritpt();

        // To add your C# script creation with you own templates, use ProjectWindowUtil.CreateScriptAssetFromTemplateFile(templatePath, defaultFileName)
    }
}
